﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Xml.Linq;
using BUS;

namespace TuyenDungViecLam.VN
{
    public partial class FAQ_TraLoi : BasePage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                int maChuyenMuc = int.Parse(Request.QueryString["Mcm"].ToString());
                int maCauHoi = int.Parse(Request.QueryString["Mch"].ToString());
                
                LbTraLoi.Text = FAQ_BUS.LayCauTraLoi(maChuyenMuc, maCauHoi).Replace("\r\n", "<br />");
            }
        }

        protected void QuayVeThanhToan_Click(object sender, ImageClickEventArgs e)
        {
            string url = "FAQ.aspx";
            Response.Redirect(url);
        }
    }
}
